package modle;

/**
 * GtPlayer entity. @author MyEclipse Persistence Tools
 */

public class GtPlayer implements java.io.Serializable {

	// Fields

	private String playerName;
	private GtRoom gtRoom;
	private Short position;
	private Short status;

	// Constructors

	/** default constructor */
	public GtPlayer() {
		this.position = 0;
		this.status = 0;
	}

	/** full constructor */
	public GtPlayer(String playerName, GtRoom gtRoom, Short position,
			Short status) {
		this.playerName = playerName;
		this.gtRoom = gtRoom;
		this.position = position;
		this.status = status;
	}

	// Property accessors

	public String getPlayerName() {
		return this.playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public GtRoom getGtRoom() {
		return this.gtRoom;
	}

	public void setGtRoom(GtRoom gtRoom) {
		this.gtRoom = gtRoom;
	}

	public Short getPosition() {
		return this.position;
	}

	public void setPosition(Short position) {
		this.position = position;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

}